package com.easyadmin.pro.modules.sys.mapper;

import com.easyadmin.pro.modules.sys.rest.RouterActionInfoResultVo;
import org.apache.ibatis.annotations.Mapper;
import com.mybatisflex.core.BaseMapper;
import com.easyadmin.pro.modules.sys.entity.RouterActionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  映射层。
 *
 * @author xulin
 * @since 2024-04-07
 */
@Mapper
public interface RouterActionMapper extends BaseMapper<RouterActionEntity> {

    /**
     * 获取路由按钮信息
     * @param routerId
     * @return
     */
    List<RouterActionInfoResultVo> selectRouterActionInfos(@Param("routerId") Long routerId);
}
